package com.zjitc.model;

/**
 * Create by IntelliJ IDEA
 *
 * @author: lhl
 * @date-Time: 2018/4/5 0005
 * @description:
 */
public class CarItem {

    private Integer count;
    private Product product;
    private Double price;

    public CarItem() {
    }

    public CarItem(Integer count, Product product, Double price) {

        this.count = count;
        this.product = product;
        this.price = price;
    }

    @Override
    public String toString() {
        return "CarItem{" +
                "count=" + count +
                ", product=" + product +
                ", price=" + price +
                '}';
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Product getProduct() {
        return product;
    }

    public void setProduct(Product product) {
        this.product = product;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }
}
